<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>
        ${title}
    </title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="<%=basePath%>/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="<%=basePath%>/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%=basePath%>/css/ionicons.min.css">
    <link rel="stylesheet" href="<%=basePath%>/dist/css/AdminLTE.min.css">
    <link rel="stylesheet" href="<%=basePath%>/toastr/toastr.css" type="text/css"/>
    <link rel="stylesheet" href="<%=basePath%>/dist/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="<%=basePath%>/fileupload/fileinput.min.css"/>
    <link rel="stylesheet" href="<%=basePath%>/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css">
    <link rel="stylesheet" href="<%=basePath%>/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="<%=basePath%>/plugins/iCheck/all.css">
    <link rel="stylesheet" href="<%=basePath%>/pagination/style/pagination.css" media="screen">
    <link rel="stylesheet" href="<%=basePath%>/plugins/iziModal/css/iziModal.min.css">
    <link rel="stylesheet" href="<%=basePath%>/plugins/select2/select2.min.css">
    <link rel="stylesheet" href="<%=basePath%>/plugins/iCheck/all.css">
    <link rel="stylesheet" href="<%=basePath%>/plugins/loaders/loaders.css"/>
    <link rel="stylesheet" href="<%=basePath%>/plugins/flavr/animate.css"/>
    <link rel="stylesheet" href="<%=basePath%>/plugins/flavr/flavr.css"/>
    <link rel="stylesheet" href="<%=basePath%>/plugins/bootstrap-treeview/css/bootstrap-treeview.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        li{
            list-style: none;
        }
    </style>
</head>
<!-- ADD THE CLASS sidedar-collapse TO HIDE THE SIDEBAR PRIOR TO LOADING THE SITE -->
<body class="hold-transition skin-blue sidebar-mini">
<div id="request-div" style="position: absolute;width: 100%;height: 100%;z-index: 10;display: none;">
    <img src='../images/request-sending.gif' style="position: relative;top: 50%;left: 50%;width: 70px;height: 70px">
</div>
<!-- Site wrapper -->
<div class="wrapper">
    <header class="main-header">
        <!-- Logo -->
        <jsp:include page="../logo.jsp" ></jsp:include >
        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-fixed-top">
            <!-- Sidebar toggle button-->
            <a class="sidebar-toggle" data-toggle="offcanvas" role="button" onclick="show()">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <jsp:include page="../menuTop.jsp"></jsp:include>
        </nav>
    </header>

    <!-- =============================================== -->

    <!-- Left side column. contains the sidebar -->
    <aside class="main-sidebar">
        <jsp:include page="../menu.jsp"></jsp:include>
        <!-- /.sidebar -->
    </aside>

    <input type="hidden" value="<%=basePath%>" id="basePath">
    <input type="hidden" value="${newsId}" id="newsId">
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper" style="padding-top:50px;">
        <section class="content-header">
            <ol class="breadcrumb">
                <li class="text-muted"><i class="fa fa-th"></i>&nbsp;&nbsp;新闻管理</li>
                <li class="text-muted"><i class="fa fa-circle-o"></i>&nbsp;&nbsp;新闻详情</li>
            </ol>
        </section>
        <section class="content">
            <div class="row">
                <div class="col-md-12">
                    <div class="nav-tabs-custom">
                        <ul class="nav nav-tabs">
                            <li class="active"><a href="#contractInfo" data-toggle="tab">新闻信息</a></li>
                            <li><a href="#file" data-toggle="tab">文件档案</a></li>
                        </ul>
                        <div class="tab-content">
                            <div class="tab-pane active" id="contractInfo">
                                <table class="table table-striped table-bordered">
                                    <tr>
                                        <td colspan="6" class="text-left col-md-12 info"><label>&nbsp;&nbsp;新闻信息</label></td>
                                    </tr>
                                    <tr>
                                        <td class="text-right"><label class="text-muted">标题：</label></td>
                                        <td class="text-left"><span id="titleSpan"></span></td>
                                        <td class="text-right"><label class="text-muted">类型：</label></td>
                                        <td class="text-left"><span id="newsTypeNameSpan"></span></td>
                                        <td class="text-right"><label class="text-muted">发布时间：</label></td>
                                        <td class="text-left"><span id="publisTimeSpan"></span></td>
                                    </tr>
                                    <tr>
                                        <td class="text-right" ><label class="text-muted">发布人：</label></td>
                                        <td class="text-left" ><span id="publishPersonNameSpan"></span></td>
                                        <td class="text-right"><label class="text-muted">状态：</label></td>
                                        <td class="text-left"><span id="statusSpan"></span></td>
                                        <td class="text-right"><label class="text-muted">备注</label></td>
                                        <td class="text-left"><span id="remarkSpan"></span></td>
                                    </tr>
                                    <tr>
                                        <td class="text-right" ><label class="text-muted">内容：</label></td>
                                        <td class="text-left" colspan="5"><span id="publishContentSpan"></span></td>
                                    </tr>
                                </table>
                            </div>



                            <!-- 文件管理 -->
                            <div class="tab-pane table-responsive" id="file"
                                 style="min-height: 600px">
                                <div class="box-body table-responsive no-padding">
                                    <table class="table table-bordered ">
                                        <thead>
                                        <tr class="info">
                                            <th class="text-center text-muted" style="width: 35px">#</th>
                                            <th class="text-center text-muted">文件类型</th>
                                            <th class="text-center text-muted">文件名</th>
                                            <th class="text-center text-muted">签发日期</th>
                                            <th class="text-center text-muted">到期日期</th>
                                            <th class="text-center text-muted">文件大小</th>
                                            <th class="text-center text-muted">文件下载</th>
                                        </tr>
                                        </thead>
                                        <tbody id="news_file_list">


                                        </tbody>
                                    </table>
                                </div>
                            </div>



                        </div>
                    </div>
                    <!-- /.tab-content -->
                </div>
            </div>
            <!-- /.col -->
        </section>
    </div>

    <div id="file_show_modal" style="display: none">

    </div>

    <footer class="main-footer">
        <div class="pull-right hidden-xs">
            <b>Version</b> 1.0.0
        </div>
        <strong>Copyright &copy; 2019 <a href="http://almsaeedstudio.com">Topmed</a>.</strong> All rights reserved.
    </footer>
    <jsp:include page="../menuRight.jsp"></jsp:include>
    <!-- ./wrapper -->

    <!-- ./wrapper -->
    <script src="<%=basePath%>/plugins/jQuery/jquery-2.2.3.min.js"></script>
    <script src="<%=basePath%>/bootstrap/js/bootstrap.min.js"></script>
    <script src="<%=basePath%>/plugins/slimScroll/jquery.slimscroll.min.js"></script>
    <script src="<%=basePath%>/plugins/fastclick/fastclick.js"></script>
    <script src="<%=basePath%>/dist/js/app.min.js"></script>
    <script src="<%=basePath%>/dist/js/demo.js"></script>
    <script src="<%=basePath%>/bootstrapvalidator/js/bootstrapValidator.min.js"></script>
    <script src="<%=basePath%>/toastr/toastr.js"></script>
    <script src="<%=basePath%>/pagination/js/jquery.pagination.min.js"></script>
    <script src="<%=basePath%>/js/overallSituation.js"></script>
    <script src="<%=basePath%>/fileupload/fileinput.min.js"></script>
    <script src="<%=basePath%>/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script src="<%=basePath%>/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
    <script src="<%=basePath%>/plugins/select2/select2.min.js"></script>
    <script src="<%=basePath%>/plugins/select2/i18n/zh-CN.js"></script>
    <script src="<%=basePath%>/plugins/iCheck/icheck.min.js"></script>
    <script src="<%=basePath%>/plugins/flavr/flavr.min.js"></script>
    <script src="<%=basePath%>/plugins/bootstrap-treeview/js/bootstrap-treeview.js"></script>
    <script src="<%=basePath%>/plugins/iziModal/js/iziModal.min.js"></script>
    <script src="<%=basePath%>/js/news/news-info.js"></script>

    <script type="text/javascript">

    </script>
</body>
</html>
